Automattic\Jetpack\Forms\ContactForm\Feedback D

Total Complexity 227
Dependencies 9
Dependents 5
Total lines 1,873
Lines of code 952
Logical lines of code 501
Comment lines 559
Methods 76
Properties 18

Methods 76

Method Rating Maintainability Complexity Lines of code
get_compiled_fields()
A
44 13 48
get_legacy_extra_values()
A
47 11 34
get_country_code_from_ip()
A
46 10 40
get_files()
A
50 9 30
parse_content_v2()
A
51 8 26
get_field_value()
S
53 7 25
process_file_field_value()
S
53 7 23
parse_content_v3()
S
54 7 21
get_akismet_vars()
S
49 6 29
process_legacy_lines()
S
46 5 42
process_legacy_values()
S
48 5 38
country_code_to_emoji_flag()
S
57 6 15
validate_notification_recipients()
S
60 6 13
get_computed_fields()
S
53 5 22
get_browser()
S
57 5 17
parse_json_data()
S
58 5 15
fix_malformed_json()
S
42 2 57
get_field_by_form_field_id()
S
63 5 11
geolocate_via_api()
S
55 4 19
mark_as_read()
S
59 4 16
mark_as_unread()
S
59 4 16
load_from_post()
S
48 3 30
get_first_field_of_type()
S
59 4 15
get()
S
60 4 13
serialize()
S
54 3 21
process_image_select_field_value()
S
57 3 17
is_legacy_file_upload()
S
67 4 8
get_entry_values()
S
61 3 12
extract_legacy_values()
S
62 3 12
get_computed_subject()
S
62 3 11
load_from_submission()
S
57 2 15
get_field_value_by_label()
S
67 3 8
has_field_type()
S
67 3 8
parse_content()
S
66 3 9
extract_label_from_key()
S
66 3 9
get_computed_comment_content()
S
63 3 10
get_computed_consent()
S
67 3 7
split_legacy_content()
S
60 2 13
save()
S
57 1 17
extract_legacy_lines()
S
66 2 8
parse_array_format()
S
65 2 8
get_field_value_by_form_field_id()
S
69 2 7
parse_legacy_content()
S
60 1 13
get_unread_count()
S
62 1 12
clear_cache()
S
80 1 3
from_submission()
S
72 1 5
set_source()
S
81 1 3
get_fields()
S
82 1 3
get_all_values()
S
78 1 3
get_all_legacy_values()
S
64 1 10
get_feedback_id()
S
82 1 3
get_title()
S
82 1 3
get_time()
S
82 1 3
get_author()
S
81 1 3
get_author_email()
S
81 1 3
get_author_avatar()
S
81 1 3
get_author_url()
S
81 1 3
get_comment_content()
S
82 1 3
get_ip_address()
S
82 1 3
get_user_agent()
S
82 1 3
get_country_code()
S
82 1 3
get_country_flag()
S
80 1 3
get_subject()
S
82 1 3
get_notification_recipients()
S
82 1 3
has_consent()
S
82 1 3
has_file()
S
82 1 3
is_unread()
S
82 1 3
get_status()
S
82 1 3
set_status()
S
81 1 3
get_entry_id()
S
81 1 3
get_entry_title()
S
81 1 3
get_entry_permalink()
S
81 1 3
get_edit_form_url()
S
81 1 3
get_entry_short_permalink()
S
81 1 3
add_comment_content_field()
S
65 1 9
get_computed_notification_recipients()
S
76 1 4